package com.HuangJiaQing.www.service;

import com.HuangJiaQing.www.model.Orders;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author HONOR
 * @date 2022/7/29 15:15
 */
public interface OrdersService {
    Boolean insertOrders(Integer id,String method);

    List<Orders> selectOrders(Model model);

    List<Orders> selectOrdersNeedCourier();

    Orders selectOrdersById(Integer id);

    List<Orders> selectOrdersNeedCollect();

    void updateOrdersIsCollect(Integer id);

    List<Orders> selectOrdersCollected();
}
